package com.tao.dto;

public class PageResult {

    private Long total;

    private Object rows;

    public PageResult(Long total, Object rows) {
        this.total = total;
        this.rows = rows;
    }
    public static PageResult PageResultBuild(Long total, Object rows) {
       return new PageResult(total,rows);
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Object getRows() {
        return rows;
    }

    public void setRows(Object rows) {
        this.rows = rows;
    }
}
